Optimal. Leaf size=122 \[ -\frac {407 \sqrt {1-2 x} \sqrt {3+5 x}}{392 (2+3 x)}+\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{7 (2+3 x)^3}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{28 (2+3 x)^2}-\frac {4477 \tan ^{-1}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {3+5 x}}\right )}{392 \sqrt {7}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {98, 96, 95, 210}
\begin {gather*} -\frac {4477 \text {ArcTan}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {5 x+3}}\right )}{392 \sqrt {7}}+\frac {37 \sqrt {1-2 x} (5 x+3)^{3/2}}{28 (3 x+2)^2}+\frac {(1-2 x)^{3/2} (5 x+3)^{3/2}}{7 (3 x+2)^3}-\frac {407 \sqrt {1-2 x} \sqrt {5 x+3}}{392 (3 x+2)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 95
Rule 96
Rule 98
Rule 210
Rubi steps
\begin {align*} \int \frac {\sqrt {1-2 x} \sqrt {3+5 x}}{(2+3 x)^4} \, dx &=\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{7 (2+3 x)^3}+\frac {37}{14} \int \frac {\sqrt {1-2 x} \sqrt {3+5 x}}{(2+3 x)^3} \, dx\\ &=\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{7 (2+3 x)^3}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{28 (2+3 x)^2}+\frac {407}{56} \int \frac {\sqrt {3+5 x}}{\sqrt {1-2 x} (2+3 x)^2} \, dx\\ &=-\frac {407 \sqrt {1-2 x} \sqrt {3+5 x}}{392 (2+3 x)}+\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{7 (2+3 x)^3}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{28 (2+3 x)^2}+\frac {4477}{784} \int \frac {1}{\sqrt {1-2 x} (2+3 x) \sqrt {3+5 x}} \, dx\\ &=-\frac {407 \sqrt {1-2 x} \sqrt {3+5 x}}{392 (2+3 x)}+\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{7 (2+3 x)^3}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{28 (2+3 x)^2}+\frac {4477}{392} \text {Subst}\left (\int \frac {1}{-7-x^2} \, dx,x,\frac {\sqrt {1-2 x}}{\sqrt {3+5 x}}\right )\\ &=-\frac {407 \sqrt {1-2 x} \sqrt {3+5 x}}{392 (2+3 x)}+\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{7 (2+3 x)^3}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{28 (2+3 x)^2}-\frac {4477 \tan ^{-1}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {3+5 x}}\right )}{392 \sqrt {7}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 74, normalized size = 0.61 \begin {gather*} \frac {\frac {7 \sqrt {1-2 x} \sqrt {3+5 x} \left (1648+4902 x+3547 x^2\right )}{(2+3 x)^3}-4477 \sqrt {7} \tan ^{-1}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {3+5 x}}\right )}{2744} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(201\) vs.
\(2(95)=190\).
time = 0.12, size = 202, normalized size = 1.66
method | result | size |
risch | \(-\frac {\sqrt {3+5 x}\, \left (-1+2 x \right ) \left (3547 x^{2}+4902 x +1648\right ) \sqrt {\left (1-2 x \right ) \left (3+5 x \right )}}{392 \left (2+3 x \right )^{3} \sqrt {-\left (3+5 x \right ) \left (-1+2 x \right )}\, \sqrt {1-2 x}}+\frac {4477 \sqrt {7}\, \arctan \left (\frac {9 \left (\frac {20}{3}+\frac {37 x}{3}\right ) \sqrt {7}}{14 \sqrt {-90 \left (\frac {2}{3}+x \right )^{2}+67+111 x}}\right ) \sqrt {\left (1-2 x \right ) \left (3+5 x \right )}}{5488 \sqrt {1-2 x}\, \sqrt {3+5 x}}\) | \(124\) |
default | \(\frac {\sqrt {1-2 x}\, \sqrt {3+5 x}\, \left (120879 \sqrt {7}\, \arctan \left (\frac {\left (37 x +20\right ) \sqrt {7}}{14 \sqrt {-10 x^{2}-x +3}}\right ) x^{3}+241758 \sqrt {7}\, \arctan \left (\frac {\left (37 x +20\right ) \sqrt {7}}{14 \sqrt {-10 x^{2}-x +3}}\right ) x^{2}+161172 \sqrt {7}\, \arctan \left (\frac {\left (37 x +20\right ) \sqrt {7}}{14 \sqrt {-10 x^{2}-x +3}}\right ) x +49658 x^{2} \sqrt {-10 x^{2}-x +3}+35816 \sqrt {7}\, \arctan \left (\frac {\left (37 x +20\right ) \sqrt {7}}{14 \sqrt {-10 x^{2}-x +3}}\right )+68628 x \sqrt {-10 x^{2}-x +3}+23072 \sqrt {-10 x^{2}-x +3}\right )}{5488 \sqrt {-10 x^{2}-x +3}\, \left (2+3 x \right )^{3}}\) | \(202\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 121, normalized size = 0.99 \begin {gather*} \frac {4477}{5488} \, \sqrt {7} \arcsin \left (\frac {37 \, x}{11 \, {\left | 3 \, x + 2 \right |}} + \frac {20}{11 \, {\left | 3 \, x + 2 \right |}}\right ) + \frac {185}{294} \, \sqrt {-10 \, x^{2} - x + 3} + \frac {{\left (-10 \, x^{2} - x + 3\right )}^{\frac {3}{2}}}{7 \, {\left (27 \, x^{3} + 54 \, x^{2} + 36 \, x + 8\right )}} + \frac {111 \, {\left (-10 \, x^{2} - x + 3\right )}^{\frac {3}{2}}}{196 \, {\left (9 \, x^{2} + 12 \, x + 4\right )}} - \frac {1369 \, \sqrt {-10 \, x^{2} - x + 3}}{1176 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.58, size = 101, normalized size = 0.83 \begin {gather*} -\frac {4477 \, \sqrt {7} {\left (27 \, x^{3} + 54 \, x^{2} + 36 \, x + 8\right )} \arctan \left (\frac {\sqrt {7} {\left (37 \, x + 20\right )} \sqrt {5 \, x + 3} \sqrt {-2 \, x + 1}}{14 \, {\left (10 \, x^{2} + x - 3\right )}}\right ) - 14 \, {\left (3547 \, x^{2} + 4902 \, x + 1648\right )} \sqrt {5 \, x + 3} \sqrt {-2 \, x + 1}}{5488 \, {\left (27 \, x^{3} + 54 \, x^{2} + 36 \, x + 8\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {1 - 2 x} \sqrt {5 x + 3}}{\left (3 x + 2\right )^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 310 vs.
\(2 (95) = 190\).
time = 0.62, size = 310, normalized size = 2.54 \begin {gather*} \frac {4477}{54880} \, \sqrt {70} \sqrt {10} {\left (\pi + 2 \, \arctan \left (-\frac {\sqrt {70} \sqrt {5 \, x + 3} {\left (\frac {{\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}^{2}}{5 \, x + 3} - 4\right )}}{140 \, {\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}}\right )\right )} - \frac {121 \, \sqrt {10} {\left (37 \, {\left (\frac {\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}{\sqrt {5 \, x + 3}} - \frac {4 \, \sqrt {5 \, x + 3}}{\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}\right )}^{5} - 24640 \, {\left (\frac {\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}{\sqrt {5 \, x + 3}} - \frac {4 \, \sqrt {5 \, x + 3}}{\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}\right )}^{3} - \frac {2900800 \, {\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}}{\sqrt {5 \, x + 3}} + \frac {11603200 \, \sqrt {5 \, x + 3}}{\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}\right )}}{196 \, {\left ({\left (\frac {\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}{\sqrt {5 \, x + 3}} - \frac {4 \, \sqrt {5 \, x + 3}}{\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}\right )}^{2} + 280\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 12.76, size = 1273, normalized size = 10.43 \begin {gather*} \frac {\frac {2630142\,{\left (\sqrt {1-2\,x}-1\right )}^5}{765625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^5}-\frac {1060932\,{\left (\sqrt {1-2\,x}-1\right )}^3}{765625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^3}-\frac {16732\,\left (\sqrt {1-2\,x}-1\right )}{765625\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {1315071\,{\left (\sqrt {1-2\,x}-1\right )}^7}{153125\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^7}+\frac {265233\,{\left (\sqrt {1-2\,x}-1\right )}^9}{12250\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^9}+\frac {4183\,{\left (\sqrt {1-2\,x}-1\right )}^{11}}{1960\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^{11}}+\frac {131174\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^2}{765625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {121551\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^4}{109375\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^4}-\frac {3688612\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^6}{765625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^6}+\frac {121551\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^8}{17500\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^8}+\frac {65587\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^{10}}{9800\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^{10}}}{\frac {5856\,{\left (\sqrt {1-2\,x}-1\right )}^2}{15625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}-\frac {4224\,{\left (\sqrt {1-2\,x}-1\right )}^4}{15625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^4}-\frac {14776\,{\left (\sqrt {1-2\,x}-1\right )}^6}{15625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^6}-\frac {1056\,{\left (\sqrt {1-2\,x}-1\right )}^8}{625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^8}+\frac {366\,{\left (\sqrt {1-2\,x}-1\right )}^{10}}{25\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^{10}}+\frac {{\left (\sqrt {1-2\,x}-1\right )}^{12}}{{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^{12}}-\frac {7776\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^3}{15625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^3}+\frac {34704\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^5}{15625\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^5}-\frac {17352\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^7}{3125\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^7}+\frac {972\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^9}{125\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^9}+\frac {18\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^{11}}{5\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^{11}}-\frac {576\,\sqrt {3}\,\left (\sqrt {1-2\,x}-1\right )}{15625\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}+\frac {64}{15625}}-\frac {4477\,\sqrt {7}\,\mathrm {atan}\left (\frac {\frac {4477\,\sqrt {7}\,\left (\frac {13431\,\sqrt {3}}{6125}+\frac {13431\,\left (\sqrt {1-2\,x}-1\right )}{12250\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {13431\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^2}{2450\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}-\frac {\sqrt {7}\,\left (\frac {212\,{\left (\sqrt {1-2\,x}-1\right )}^2}{25\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {888\,\sqrt {3}\,\left (\sqrt {1-2\,x}-1\right )}{125\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {536}{125}\right )\,4477{}\mathrm {i}}{5488}\right )}{5488}+\frac {4477\,\sqrt {7}\,\left (\frac {13431\,\sqrt {3}}{6125}+\frac {13431\,\left (\sqrt {1-2\,x}-1\right )}{12250\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {13431\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^2}{2450\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {\sqrt {7}\,\left (\frac {212\,{\left (\sqrt {1-2\,x}-1\right )}^2}{25\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {888\,\sqrt {3}\,\left (\sqrt {1-2\,x}-1\right )}{125\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {536}{125}\right )\,4477{}\mathrm {i}}{5488}\right )}{5488}}{\frac {20043529\,{\left (\sqrt {1-2\,x}-1\right )}^2}{1920800\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {20043529}{4802000}+\frac {\sqrt {7}\,\left (\frac {13431\,\sqrt {3}}{6125}+\frac {13431\,\left (\sqrt {1-2\,x}-1\right )}{12250\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {13431\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^2}{2450\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}-\frac {\sqrt {7}\,\left (\frac {212\,{\left (\sqrt {1-2\,x}-1\right )}^2}{25\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {888\,\sqrt {3}\,\left (\sqrt {1-2\,x}-1\right )}{125\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {536}{125}\right )\,4477{}\mathrm {i}}{5488}\right )\,4477{}\mathrm {i}}{5488}-\frac {\sqrt {7}\,\left (\frac {13431\,\sqrt {3}}{6125}+\frac {13431\,\left (\sqrt {1-2\,x}-1\right )}{12250\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {13431\,\sqrt {3}\,{\left (\sqrt {1-2\,x}-1\right )}^2}{2450\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {\sqrt {7}\,\left (\frac {212\,{\left (\sqrt {1-2\,x}-1\right )}^2}{25\,{\left (\sqrt {3}-\sqrt {5\,x+3}\right )}^2}+\frac {888\,\sqrt {3}\,\left (\sqrt {1-2\,x}-1\right )}{125\,\left (\sqrt {3}-\sqrt {5\,x+3}\right )}-\frac {536}{125}\right )\,4477{}\mathrm {i}}{5488}\right )\,4477{}\mathrm {i}}{5488}}\right )}{2744} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________